<template>
  <view class="container">
    <view>
      <u-upload ref="uUpload" :action="action" :auto-upload="true"></u-upload>
      <u-button @click="submit">提交</u-button>
    </view>
  </view>
</template>

<script setup lang="ts">
import { ref } from 'vue'
const action = ref('124.221.82.55')
</script>

<style lang="scss">
.container {
  background-color: #eee;
}
</style>
